```
Feature: maps
The maps is a representation of crossings in a spatial way
Scenario: Verify the map entry is present and correct
Scenario: Verify the user can query clusters on map
Scenario: Verify the user can get crossings from clusters
Scenario: Verify the user cannot see other user with location hidden
```
| Summary Item | Total | Failed |
|---|---|---|
| Requests | 28 | 0 |
| Prerequest Scripts | 66 | 0 |
| Test Scripts | 72 | 3 |
| Assertions | 13 | 13 |
| Skipped Tests | 0 | - |
Cannot read property 'enable' of undefined
Cannot read property 'enable' of undefined
Cannot read property 'clusters' of undefined
expected response to have status code 200 but got 403
expected undefined to not deeply equal undefined
expected response to have status code 200 but got 403
expected { Object (trace, message_exception) } to have property 'length'
expected response to have status code 200 but got 403
mapData is not iterable
expected response to have status code 200 but got 403
clusterCrossings.some is not a function
expected response to have status code 200 but got 403
expected response to have status code 200 but got 403
mapData is not iterable
expected response to have status code 200 but got 403
clusterCrossings.some is not a function
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c44b32bd-53ac-4b6c-978f-f83de6ce783a |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:17 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/json; charset=utf-8 |
| User-Agent | happn-test 1.10 |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0da95bf1-e24d-451a-949e-5e1e7cd00bbf |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 320 |
{
"type": "CLIENT",
"login": "main.user_1611667637942A@example.com",
"password": "00000000",
"first_name": "Main user A",
"last_name": "api",
"birth_date": "1988-01-01",
"gender": "female",
"salt": "NotReallySecuredS4lt",
"nickname": "postman.userA",
"workplace": "Postman test"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:18 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1804 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 608e86af-520a-4d5d-970f-7164b5ad5010 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 227 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667637942A@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:19 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3d2df6d0-6725-4b59-ad16-393824d3f619 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:19 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1913 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| User should be eligible to Suggested stack | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| User should be eligible to Suggested stack | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c240336d-9077-4da6-a008-08fe3d8fe5a3 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 72 |
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:20 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/x-www-form-urlencoded |
| Authorization | OAuth="null" |
| User-Agent | happn/2300 CFNetwork/897.15 Darwin/18.7.0 |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | af42eaf5-3d2a-460a-a595-8768d3baefef |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 83 |
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F2.jpg"}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:20 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4d6675ed-7aff-4a62-856e-196d59a74fb4 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 233 |
{
"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:21 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aaa1f579-d2d8-4160-b74f-2882c9afae5a |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 42 |
{
"type": "ios",
"app_build": "9999"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:22 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1922 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| X-Happn-DID | null |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 14fad0ed-01d7-4a75-b254-62be0a7666f5 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 78 |
{"latitude":9.260468194705794,"longitude":133.0311888717144,"country_id":"FR"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:23 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1924 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 1ca34838-3f4a-4057-ae72-e816edc8c03e |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Type | application/x-www-form-urlencoded |
| Content-Length | 211 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:24 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1372 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| host | varnish |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/json; charset=utf-8 |
| User-Agent | happn-test 1.10 |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b6a50b8c-6baf-47a6-8d7a-29f2632d5a75 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 317 |
{
"type": "CLIENT",
"login": "crossing1611667644124B@example.com",
"password": "00000000",
"first_name": "Crossing B",
"last_name": "api",
"birth_date": "1988-01-01",
"gender": "female",
"salt": "NotReallySecuredS4lt",
"nickname": "postman.userB",
"workplace": "Postman test"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:24 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1804 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| host | varnish |
| User-Agent | happn-test 1.10 |
| Accept-Language | fr_FR |
| CF-IPCountry | FR |
| Content-Type | application/x-www-form-urlencoded |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d1e53b67-544a-4229-9f03-792ba6041596 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 225 |
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"crossing1611667644124B@example.com","password":"00000000"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:24 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Connection | keep-alive |
| Transfer-Encoding | chunked |
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7f8e740e-70d0-4742-8b9b-2b16bcf8d280 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:25 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1913 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| User should be eligible to Suggested stack | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| User should be eligible to Suggested stack | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fee01646-5531-4827-9461-8354dff34887 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 72 |
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:26 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/x-www-form-urlencoded |
| Authorization | OAuth="null" |
| User-Agent | happn/2300 CFNetwork/897.15 Darwin/18.7.0 |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3c90b47c-f33d-4494-86f7-8f47cfda48ac |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 83 |
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F0.jpg"}
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:27 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a9ce20db-e46e-4849-a69c-67eb4f2ccc23 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 233 |
{
"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:27 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | eb8a63de-68af-4c34-b2a6-f7d94b459a15 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 42 |
{
"type": "ios",
"app_build": "9999"
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:28 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1922 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| X-Happn-DID | null |
| Content-Type | application/json; charset=utf-8 |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c500c62d-044b-499c-97f2-821f44858d10 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 78 |
{"latitude":9.260468194705794,"longitude":133.0311888717144,"country_id":"FR"}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:28 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1924 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 76f28531-e0de-4fa4-a253-7167aec330de |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:29 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1932 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserMapsClustersController.php(9): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_UserMapsClustersController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ae9f17f8-bd8c-4a7f-a551-3c6d9971231c |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:30 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1909 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| User A should have map stats | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| User A should have map stats | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cdf2aeef-85d4-4cbd-a85f-f95560a705c8 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:30 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1932 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserMapsClustersController.php(9): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_UserMapsClustersController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| User A should have Clusters list | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| User A should have Clusters list | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | fdc1d151-bf12-4606-a537-de3d9246bf50 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:31 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1932 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserMapsClustersController.php(9): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_UserMapsClustersController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 55a1bff4-a7ef-44f2-a23f-00c6edf2ab1e |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:32 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1933 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/ClusterCrossingsController.php(11): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_ClusterCrossingsController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| User B should be in User A cluster crossings | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| User B should be in User A cluster crossings | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Content-Type | application/json |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d51888f7-707f-456f-94e4-f3c63efa8cd3 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 70 |
{
"location_preferences" : {
"hide_location": true
}
}
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:32 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1910 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| users endpoint should return 200 when user update location_preferences | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| users endpoint should return 200 when user update location_preferences | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f1820d38-3636-4ba1-8126-3107f7816a2f |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:33 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1932 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserMapsClustersController.php(9): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_UserMapsClustersController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| Total | 0 | 1 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| Header Name | Header Value |
|---|---|
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | aa22af45-abd5-4746-9ca9-0d67331685b5 |
| Host | varnish |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Tue, 26 Jan 2021 13:27:34 GMT |
| Content-Type | application/json |
| Access-Control-Allow-Origin | * |
| Access-Control-Allow-Methods | GET, POST, PUT, DELETE, PATCH, OPTIONS |
| Access-Control-Max-Age | 0 |
| Access-Control-Allow-Headers | Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY |
| X-Backend | legacy |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 1933 |
| Connection | keep-alive |
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/ClusterCrossingsController.php(11): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_ClusterCrossingsController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 0 | 1 | 0 |
| User B should not be in User A cluster crossings | 0 | 1 | 0 |
| Total | 0 | 2 | 0 |
| Test Name | Assertion Error |
|---|---|
| Status code is 200 | |
| User B should not be in User A cluster crossings | |
| Header Name | Header Value |
|---|---|
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5f496191-5981-4094-9854-2fbd1e53b9da |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:34 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
| Header Name | Header Value |
|---|---|
| Host | varnish |
| CF-IPCountry | FR |
| Cookie | |
| Authorization | OAuth="null" |
| User-Agent | happn/2705 CFNetwork/1128.0.1 Darwin/19.6.0 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 300a1592-279b-4a0e-be02-83699db1a9b2 |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| Date | Tue, 26 Jan 2021 13:27:35 GMT |
| X-Backend | gateway |
| Age | 0 |
| Cache-Control | max-age=0, no-cache, no-store, must-revalidate |
| Content-Length | 72 |
| Connection | keep-alive |
{"status":403,"success":false,"error":"invalid_token","error_code":1010}